package com.huluobo.high3videoproject.mvp.goods.presenter;

import com.huluobo.high3videoproject.bean.GoodsInfoBeanResult;

import io.reactivex.Observable;

public interface GoodsInfoContract {
    interface Model {
        Observable<GoodsInfoBeanResult> getGoodsInfo(int category_id, int currentPage, int pageSize);
    }

    interface Presenter {
        void getGoodsInfo(int category_id, int currentPage, int pageSize);
    }

    interface View {
        void onGetGoodsInfoSuccess(GoodsInfoBeanResult goodsInfoBeanResult);

        void onGetGoodsInfoFailed(String error);
    }
}
